package concurrent.lock;

import java.util.Timer;
import java.util.TimerTask;

/**
 * Author: Jason Wu
 * Date  : 2013-12-03
 */
public class TimerTest {
    public static void main(String[] args) {
        Timer timer = new Timer();
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println("11");
            }
        }, 0, 2000);
    }
}
